<?php

//Send email in PHP by Gmail
//==============================
//For the send email in PHP by Gmail id, I've used phpmailer class.
//see the full code in zip file.
//php_openssl must be commented in the php.ini file.
//- Amit Gaur
// email: amitt800@gmail.com

	
	require_once('phpgmailer/class.phpgmailer.php');
	$mail = new PHPGMailer();
	$mail->IsHTML(true);
	$mail->Username = 'zlatnaspirala@gmail.com';
	$mail->Password = 'krastavac11';
	$mail->From = 'zlatnaspirala@gmail.com';
	$mail->FromName = 'Nikola';
	$mail->Subject = 'zlatnaspirala TEST';
	$mail->AddAddress('zlatnaspirala@yahoo.com');
	$mail->Body = "<h1>Hey, Here is Amit!</h1>";
	$mail->Send();
	
	
?>